package com.rmt.www.vo;

import java.sql.Timestamp;

import com.rmt.www.constant.ArtifactType;

public class RequirementArtifact extends Artifact{
	
	private String _authorname;
	public String get_authorname() {
		return _authorname;
	}
	public void set_authorname(String authorname) {
		_authorname = authorname;
	}
	public String get_updatername() {
		return _updatername;
	}
	public void set_updatername(String updatername) {
		_updatername = updatername;
	}
	private String _updatername;
	
	//private int id;
	private int pid;
	//private String title;
	private int authorId;
	private String version;
	private String priority;
	private String source;
	private String rational;
	private Timestamp createdtime;
	private int updateUserId;
	private Timestamp updatedtime;
	private String status;
	private String description;
	private String cost;
	private int effort;
	private String risk;
	private int updatedtimes;
	private String requirementtype;
	public RequirementArtifact(int id, int pid, String title, int authorId,
			String version, String priority, String source, String rational,
			Timestamp createdtime, int updateUserId, Timestamp updatedtime,
			String status, String description, String cost, int effort,
			String risk, int updatedtimes, String requirementtype) {
		super();
		this.id = id;
		this.pid = pid;
		this.title = title;
		this.authorId = authorId;
		this.version = version;
		this.priority = priority;
		this.source = source;
		this.rational = rational;
		this.createdtime = createdtime;
		this.updateUserId = updateUserId;
		this.updatedtime = updatedtime;
		this.status = status;
		this.description = description;
		this.cost = cost;
		this.effort = effort;
		this.risk = risk;
		this.updatedtimes = updatedtimes;
		this.requirementtype = requirementtype;
		this.artifacttype = ArtifactType.REQUIREMENT;
	}

	public RequirementArtifact() {
		super();
		this.artifacttype = ArtifactType.REQUIREMENT;
	}
	public int getPid() {
		return pid;
	}
	public void setPid(int pid) {
		this.pid = pid;
	}

	public int getAuthorId() {
		return authorId;
	}
	public void setAuthorId(int authorId) {
		this.authorId = authorId;
	}
	public String getVersion() {
		return version;
	}
	public void setVersion(String version) {
		this.version = version;
	}
	public String getPriority() {
		return priority;
	}
	public void setPriority(String priority) {
		this.priority = priority;
	}
	public String getSource() {
		return source;
	}
	public void setSource(String source) {
		this.source = source;
	}
	public String getRational() {
		return rational;
	}
	public void setRational(String rational) {
		this.rational = rational;
	}
	public Timestamp getCreatedtime() {
		return createdtime;
	}
	public void setCreatedtime(Timestamp createdtime) {
		this.createdtime = createdtime;
	}
	public int getUpdateUserId() {
		return updateUserId;
	}
	public void setUpdateUserId(int updateUserId) {
		this.updateUserId = updateUserId;
	}
	public Timestamp getUpdatedtime() {
		return updatedtime;
	}
	public void setUpdatedtime(Timestamp updatedtime) {
		this.updatedtime = updatedtime;
	}
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public String getDescription() {
		return description;
	}
	public void setDescription(String description) {
		this.description = description;
	}
	public String getCost() {
		return cost;
	}
	public void setCost(String cost) {
		this.cost = cost;
	}
	public int getEffort() {
		return effort;
	}
	public void setEffort(int effort) {
		this.effort = effort;
	}
	public String getRisk() {
		return risk;
	}
	public void setRisk(String risk) {
		this.risk = risk;
	}
	public int getUpdatedtimes() {
		return updatedtimes;
	}
	public void setUpdatedtimes(int updatedtimes) {
		this.updatedtimes = updatedtimes;
	}
	public String getRequirementtype() {
		return requirementtype;
	}
	public void setRequirementtype(String requirementtype) {
		this.requirementtype = requirementtype;
	}
	
	
}
